package com.yazdankhah.messages;

/**
 *
 * @author ahmad
 */
public class Message {
  
  private MessageType type;
  private final short  returnCode;
  private final String messageCode;
  private final String text;


  public Message(MessageType type, short returnCode, String messageCode, String text) {
    this.type = type;
    this.returnCode = returnCode;
    this.messageCode = messageCode;
    this.text = text;
  } //constructor
  
  
} //class
